/**
 * Copyright (c) 2018-2099, Joffee.
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.sailmi.eimp.elementEntity.wrapper;

import com.sailmi.common.mybatis.support.BaseEntityWrapper;
import com.sailmi.common.tool.node.ForestNodeMerger;
import com.sailmi.common.tool.node.INode;
import com.sailmi.common.tool.utils.BeanUtil;
import com.sailmi.common.tool.utils.Func;
import com.sailmi.common.tool.utils.SpringUtil;
import com.sailmi.eimp.elementEntity.entity.ElementEntity;
import com.sailmi.eimp.elementEntity.vo.ElementEntityVO;

/**
 * 包装类,返回视图层所需的字段
 *
 * @author Joffee
 * @since 2025-03-25
 */
public class ElementEntityWrapper extends BaseEntityWrapper<ElementEntity, ElementEntityVO>  {

    public static ElementEntityWrapper build() {
        return new ElementEntityWrapper();
    }

	@Override
	public ElementEntityVO entityVO(ElementEntity elementEntity) {
		ElementEntityVO elementEntityVO = BeanUtil.copyProperties(elementEntity, ElementEntityVO.class);

		return elementEntityVO;
	}

}
